<?php


namespace App\Http\Constants;


interface ApplicationStatusConstants
{
    //应用状态
    const STOP = 0; //停用
    const START = 1; //启用

    //支持红包
    const IS_MANUAL_NO = 0;
    const IS_MANUAL_YES = 1;

    //红包抵扣
    const IS_DEDUCT_NO = 0;
    const IS_DEDUCT_YES = 1;

    const STATUS = [
        ['label' => '停用', 'value' => self::STOP],
        ['label' => '启用', 'value' => self::START],

    ];

    const IS_MANUAL = [
        ['label' => '否', 'value' => self::IS_MANUAL_NO],
        ['label' => '是', 'value' => self::IS_MANUAL_YES],
    ];

    const IS_DEDUCT = [
        ['label' => '否', 'value' => self::IS_DEDUCT_NO],
        ['label' => '是', 'value' => self::IS_DEDUCT_YES],
    ];

}
